.nav {
  display: flex;
  justify-content: space-between;
  height: 3rem;
  padding: 0 1rem;
  background-color: $black;

  &__title {
    font-size: 1.4rem;
    line-height: 3rem;
    color: $silver-extra-light;
    transition: all .3s;
  }

  &__title:hover {
    color: $white-dark;
  }

  &__user {
    display: flex;
    position: relative;
    flex-direction: column;
  }

  &__user:hover {
    .nav__menu {
      display: block;
    }
  }

  &__name {
    display: flex;
    line-height: 3rem;
    align-items: center;
    cursor: pointer;
    color: $gray-extra-light;
    padding: 0 .8rem;
    transition: all .3s;
  }

  &__name:hover {
    color: $white;
    background-color: $black-extra-light;
  }

  &__arrow {
    margin-left: 5px;
  }

  &__menu {
    position: absolute;
    display: none;
    top: 3rem;
    right: 0;
    min-width: 100%;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    overflow: hidden;
    box-shadow: 2px 2px 8px $black-extra-light;
  }

  &__menu-item {
    white-space: nowrap;
    background-color: $black-extra-light;
    color: $white-dark;
    cursor: pointer;
    line-height: 2.8rem;
    padding: 0 .6rem;
    transition: all .3s;
  }

  &__menu-item:hover {
    background-color: $black;
  }

  &__menu-item:active {
    background-color: $black-light;
  }
}
